﻿using SuperSocket.ProtoBase;

namespace IOA.MES.Client.Framing
{
    public class BufferReceiveFilter : TerminatorReceiveFilter<BufferedPackageInfo>
    {
        public BufferReceiveFilter()
        : base(new byte[] { })
        {
        }

        public override BufferedPackageInfo ResolvePackage(IBufferStream bufferStream)
        {
            return new BufferedPackageInfo("", bufferStream.Buffers);
        }
    }
}
